package way.learning.zz.listener;

import way.learning.zz.event.AfterStopEvent;
import way.learning.zz.event.BeforeStartEvent;

/**
 * A listener of {@link BeforeStartEvent}/{@link AfterStopEvent} events
 *
 */
public interface DirectoryPollerListener extends Rdp4jListener {

    /**
     * Invoked once before the  DirectoryPoller is started.
     *
     */
    void beforeStart(BeforeStartEvent event);

    /**
     * Invoked once after the DirectoryPoller is stopped.
     * 
     */
    void afterStop(AfterStopEvent event);
}
